<div class="panel panel-default">
    <div class="panel-heading text-center"><b>用户注册<h4></h4></b></div>
    <div class="panel-body">
        <form  role="form">
            <div class="form-group">
                <label for="exampleInputEmail1"> 用户名:</label>
                <input type="text" class="form-control" id="exampleInputEmail1" placeholder="输入用户名" ng-model="user.username">
                <div ng-bind="errors.username"></div>
            </div>
            <div class="form-group">
                <label >密码：</label>
                <input type="password" class="form-control" placeholder="Password"  ng-model="user.password">
            </div>

            <div class="form-group">
                <label >重复密码:</label>
                <input type="password" class="form-control" placeholder="Password"  ng-model="user.password2">
                <div ng-bind="errors.password2"></div>
            </div>
            <button  class="btn btn-default" ng-click="submit()">提交注册</button>
        </form>
    </div>
</div>
